package com.jm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jm.model.Goods;
import org.apache.ibatis.annotations.Param;

public interface GoodsMapper extends BaseMapper<Goods> {

    int decGoods(@Param("commodityCode") String commodityCode, @Param("count") Integer count, @Param("oldCount") Integer oldCount);
}
